<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    let student = {
        name:"张三",
        height:174,
        weight:120,
        sayHello: function(){
            console.log(this.name+"hello")
        }


    }
    console.log(student.name)
    console.log(student['height'])
    console.log(student.weight)
    student.sayHello()
</script>
</html>